<!DOCTYPE html>
<html lang="en">
    <head>
        <title>File Upload</title>
        <%include ../common/link%>
        <style>
            .col-auto-center{
				float: none; 
				margin-left:auto;
				margin-right:auto;
				display:block;
			}
        </style>
    </head>
    <body>
        <%include ../common/header%>
        <div class="container-fluid col-xs-6 col-md-4 col-auto-center" style="margin-top:5%">
            <h3 class="text-center">File Upload</h3>
            <form action="/util/file" method="post" enctype="multipart/form-data" class="form-horizontal">
                <div class="form-group">
                    <div class="col-md-5 text-right">
                        <label for="">Uploader</label>
                    </div>
                    <div class="col-md-5">
                        <input type="text" name="uploader">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-5 text-right">
                        <label for="">File</label>
                    </div>
                    <div class="col-md-5">
                        <input type="file" name="file">
                    </div>
                    
                </div>
                <div class="form-group">
                    <div class="col-md-5 text-right">
                        <label for=""></label>
                    </div>
                    <div class="col-md-5">
                        <span style="color:red"><%= errMsg%></span>
                    </div>
                </div>
                <div class="form-group">
                    <div class="text-center">
                        <input type="submit" value="Submit" class="btn btn-primary">
                    </div>
                    
                </div>
            </form>
            
        </div>
        <% include ../common/footer %>
    </body>
</html>